package com.example.wangzh.mytest.view.path_animator;

public class PathPoint {
    public static final int CUBIC = 0x1;
    public static final int LINE = 0x2;
    public static final int MOVE = 0x3;
    private int mOperation;
    private float mX;
    private float mY;
    private float mControl0X;
    private float mControl0Y;
    private float mControl1X;
    private float mControl1Y;

    public PathPoint(int mOperation, float mX, float mY) {
        this.mOperation = mOperation;
        this.mX = mX;
        this.mY = mY;
    }

    public PathPoint(int mOperation, float mX, float mY, float mControl0X, float mControl0Y, float mControl1X, float mControl1Y) {
        this.mOperation = mOperation;
        this.mX = mX;
        this.mY = mY;
        this.mControl0X = mControl0X;
        this.mControl0Y = mControl0Y;
        this.mControl1X = mControl1X;
        this.mControl1Y = mControl1Y;
    }

    public int getmOperation() {
        return mOperation;
    }

    public void setmOperation(int mOperation) {
        this.mOperation = mOperation;
    }

    public float getmX() {
        return mX;
    }

    public void setmX(float mX) {
        this.mX = mX;
    }

    public float getmY() {
        return mY;
    }

    public void setmY(float mY) {
        this.mY = mY;
    }

    public float getmControl0X() {
        return mControl0X;
    }

    public void setmControl0X(float mControl0X) {
        this.mControl0X = mControl0X;
    }

    public float getmControl0Y() {
        return mControl0Y;
    }

    public void setmControl0Y(float mControl0Y) {
        this.mControl0Y = mControl0Y;
    }

    public float getmControl1X() {
        return mControl1X;
    }

    public void setmControl1X(float mControl1X) {
        this.mControl1X = mControl1X;
    }

    public float getmControl1Y() {
        return mControl1Y;
    }

    public void setmControl1Y(float mControl1Y) {
        this.mControl1Y = mControl1Y;
    }
}
